package test;


import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.ichina.chat.util.StringReplacer;

public class Textlxc 
{
	
	public static void main (String arg[])
	{
		//ApplicationContext act = new ClassPathXmlApplicationContext("applicationContext-*.xml");
	
		String str ="ka去fuckyou幅阿啊";
		String newstr="";
		newstr=StringReplacer.replaceString(str,new String[]{"fuck","you"},
				new String[]{"**","**"});
		
		System.err.println(newstr);
	}
}
